import request from '@/plugin/axios'
import { sysPath } from '@api/sys.common'

export function findProductCouponListByPage(params){
    return request({
        url: sysPath+'/hx-mart/api/v1/coupon/productCoupon/findProductCouponListByPage',
        method: 'post',
        params
    })
}
export function findProductCouponDetail(params){
    return request({
        url: sysPath+'/hx-mart/api/v1/coupon/productCoupon/findProductCouponDetail',
        method: 'post',
        params
    })
}
export function addProductCoupon(params){
    return request({
        url: sysPath+'/hx-mart/api/v1/coupon/productCoupon/addProductCoupon',
        method: 'post',
        data: params
    })
}
export function updateProductCoupon(params){
    return request({
        url: sysPath+'/hx-mart/api/v1/coupon/productCoupon/updateProductCoupon',
        method: 'post',
        data: params
    })
}
export function deleteProductCoupon(params){
    return request({
        url: sysPath+'/hx-mart/api/v1/coupon/productCoupon/deleteProductCoupon',
        method: 'post',
        params
    })
}
export function operateStatus(params){
    return request({
        url: sysPath+'/hx-mart/api/v1/coupon/productCoupon/operateStatus',
        method: 'post',
        params
    })
}
export function findUpProductCouponList(params){
    return request({
        url: sysPath+'/hx-mart/api/v1/coupon/productCoupon/findUpProductCouponList',
        method: 'post',
        params
    })
}
export function findAllProductCouponList(params){
    return request({
        url: sysPath+'/hx-mart/api/v1/coupon/productCoupon/findAllProductCouponList',
        method: 'post',
        params
    })
}

